<table class="form_table" cellpadding="0" cellspacing="0" style="border-top: 0px;">
  <caption style="border-bottom: 0px;">
    <%= "#{Role.human_name}" %>
  </caption>
  <tr>
    <th><%= "#{Role.human_attribute_name(:name)}" %></th>
    <th></th>
    <th></th>
    <th></th>
  </tr>
  <% @roles.each do |role| %>
    <tr class="<%= cycle('odd', 'even') %>">
      <td class="<%= current_cycle %>"><%= role.name %></td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:show), role %> ]</td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:edit), edit_role_path(role) %> ]</td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:delete), role, :confirm => t(:prompt_delete_x, :x => role.name), :method => :delete %> ]</td>
    </tr>
  <% end %>
</table>